/*****************************************************************************
******************************************************************************/
#ifndef _TYPEDEFS_H_
#define _TYPEDEFS_H_

#ifndef DSP28_DATA_TYPES
#define DSP28_DATA_TYPES
	   
	typedef	  signed char		int8;
	       	             		
	typedef	unsigned char		Uint8;
	typedef	unsigned char		uint8_t;
         	
	typedef	unsigned  short int		boolean_T;

	typedef           short int		int16;         	
	typedef	unsigned  short int		uint;	
	typedef	unsigned  short int		Uint16;
	typedef	unsigned  short int		uint16;
	typedef	unsigned  short int		uint16_t;
         	
	typedef	         long		int32;
	typedef	unsigned long		uint32;
//	typedef	unsigned long		uint32_t;
	typedef	unsigned long		Uint32;   
	       	
	       	
	typedef	float           float32;
	typedef	long double     float64;
         	
         	
	       	
	typedef	long long       int64;
	       	   
	typedef	unsigned long long	Uint64;
	typedef	unsigned long long 	uint64_t;
	           
	           
	//****************************************************************************
	           
	typedef unsigned char		ubyte;	// 1 byte unsigned; prefix: ub 
	typedef   signed char		sbyte;	// 1 byte signed;	prefix: sb 
	typedef unsigned  short int		ushort;	// 2 byte unsigned; prefix: us 
	typedef   signed  short int		sshort;	// 2 byte signed;	prefix: ss 
	typedef unsigned long		uword;	// 4 byte unsigned; prefix: uw 
	typedef   signed long		sword;	// 4 byte signed;	prefix: sw 
	
	typedef unsigned char				BYTE;
	typedef unsigned  short int				UINT;
	typedef unsigned long				WORD;
	typedef unsigned long long  DWORD;
	typedef unsigned long long 	QWORD;	//Flash 操作使用，我们不支持

	/* 内联函数关键字宏定义 */
    #define Static_Inline   static __inline
	   
#endif

		#ifndef TRUE
			#define TRUE (1)
		#endif
		#ifndef FALSE
			#define FALSE (0)
		#endif
			   
		#ifndef	NULL
			#define NULL                            (0L)
		#endif


#endif /* end of #ifndef _TYPEDEFS_H_ */

